/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.andersen.web.validating;

import com.andersen.web.service.CustomUserDetailsService;
import com.andersen.web.service.EmployeeDetailsService;
import com.andersen.web.service.OfficeDetailsService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.validation.Validator;

/**
 *
 * @author Corvus 11
 */
@Component
public abstract class AbstractValidator implements Validator{
    
    @Autowired
    protected CustomUserDetailsService userService;
    
    @Autowired
    protected EmployeeDetailsService employeeService;
    
    @Autowired
    protected OfficeDetailsService officeService;
    
    protected static final Logger LOG = Logger.getLogger("Validator");
    
}
